package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 共享文件对象 shared_file
 * 
 * @author 王帝
 * @date 2022-08-02
 */
public class SharedFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer shareId;

    /** 序号 */
    @Excel(name = "序号")
    private Integer theSerialNumber;

    /** 事项 */
    @Excel(name = "事项")
    private String theMatters;

    /** 事项简述 */
    @Excel(name = "事项简述")
    private String itemDescription;

    /** 共享文件地址 */
    @Excel(name = "共享文件地址")
    private String sharedFileAddress;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    private Long userId;

    private Long deptId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long detpId) {
        this.deptId = detpId;
    }

    public void setShareId(Integer shareId) 
    {
        this.shareId = shareId;
    }

    public Integer getShareId() 
    {
        return shareId;
    }
    public void setTheSerialNumber(Integer theSerialNumber) 
    {
        this.theSerialNumber = theSerialNumber;
    }

    public Integer getTheSerialNumber() 
    {
        return theSerialNumber;
    }
    public void setTheMatters(String theMatters) 
    {
        this.theMatters = theMatters;
    }

    public String getTheMatters() 
    {
        return theMatters;
    }
    public void setItemDescription(String itemDescription) 
    {
        this.itemDescription = itemDescription;
    }

    public String getItemDescription() 
    {
        return itemDescription;
    }
    public void setSharedFileAddress(String sharedFileAddress) 
    {
        this.sharedFileAddress = sharedFileAddress;
    }

    public String getSharedFileAddress() 
    {
        return sharedFileAddress;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shareId", getShareId())
            .append("theSerialNumber", getTheSerialNumber())
            .append("theMatters", getTheMatters())
            .append("itemDescription", getItemDescription())
            .append("sharedFileAddress", getSharedFileAddress())
            .append("note", getNote())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .toString();
    }
}
